package user;

import Book.BookList;
import operation.IOperation;

public abstract class User {

    private String name;
    protected IOperation[] iOperations;
    public User(String name){
    this.name=name;
    }
    public abstract int menu();
    public void doIOperations(int choice, BookList bookList){
        this.iOperations[choice].work(bookList);
    }
}
